import request from '@/utils/request'

// 查询站点信息;列表
export function listBasicSiteInfo(query) {
  return request({
    url: '/basic/site/basicSiteInfo/list',
    method: 'get',
    params: query
  })
}

// 查询站点信息;详细
export function getBasicSiteInfo(siteId) {
  return request({
    url: '/basic/site/basicSiteInfo/' + siteId,
    method: 'get'
  })
}

// 新增站点信息;
export function addBasicSiteInfo(data) {
  return request({
    url: '/basic/site/basicSiteInfo',
    method: 'post',
    data: data
  })
}

// 修改站点信息;
export function updateBasicSiteInfo(data) {
  return request({
    url: '/basic/site/basicSiteInfo',
    method: 'put',
    data: data
  })
}

// 删除站点信息;
export function delBasicSiteInfo(siteId) {
  return request({
    url: '/basic/site/basicSiteInfo/' + siteId,
    method: 'delete'
  })
}
